﻿using System;

namespace UniRx.InternalUtil
{
	// Token: 0x02000212 RID: 530
	public class ThrowObserver<T> : IObserver<T>
	{
		// Token: 0x06000C82 RID: 3202 RVA: 0x0003D7FE File Offset: 0x0003BBFE
		private ThrowObserver()
		{
		}

		// Token: 0x06000C83 RID: 3203 RVA: 0x0003D806 File Offset: 0x0003BC06
		public void OnCompleted()
		{
		}

		// Token: 0x06000C84 RID: 3204 RVA: 0x0003D808 File Offset: 0x0003BC08
		public void OnError(Exception error)
		{
			throw error;
		}

		// Token: 0x06000C85 RID: 3205 RVA: 0x0003D80B File Offset: 0x0003BC0B
		public void OnNext(T value)
		{
		}

		// Token: 0x04000725 RID: 1829
		public static readonly ThrowObserver<T> Instance = new ThrowObserver<T>();
	}
}
